package com.yueya.api.menu;

import com.jfinal.aop.Duang;
import com.jfinal.kit.JsonKit;
import com.yueya.common.action.ApiController;

import net.sf.json.JSONObject;

/**
 * 菜单
 * 
 * @author yangfeng
 * 
 */
public class IMenuController extends ApiController {

	public void index() {
	}

	// 获取菜单
	public void getMenu() {
		JSONObject jo = null;
		renderJson(JsonKit.toJson(Duang.duang(IMenuService.class).getMenu(jo,this.getUserId())));
	}

}
